package com.qijian.maindata.domain.query;

import java.math.BigDecimal;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;

import java.util.List;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 外协比价物料详情对象 查询条件类
 *
 * @author qijian
 * @date 2022-09-13
 */

@Data
@ToString
@TableName("main_out_compare_item_detail")
public class OutCompareItemDetailQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "main_id")
    private Long mainId;
    @WhereType(filed = "main_id")
    private List<Long> mainIds;
    @WhereType(filed = "main_item_id")
    private Long mainItemId;
    @WhereType(filed = "is_default")
    private Boolean isDefault;
    @WhereType(filed = "supplier_id")
    private Long supplierId;
    @WhereType(filed = "supplier_name")
    private String supplierName;
    @WhereType(filed = "supplier_email")
    private String supplierEmail;
    @WhereType(filed = "out_user_id")
    private Long outUserId;
    @WhereType(filed = "out_user_name")
    private String outUserName;
    @WhereType(filed = "item_id")
    private Long itemId;
    @WhereType(filed = "project_machine_no")
    private String projectMachineNo;
    @WhereType(filed = "process_name")
    private String processName;
    @WhereType(filed = "work_number")
    private Long workNumber;
    @WhereType(filed = "total_weight")
    private BigDecimal totalWeight;
    @WhereType(filed = "currency_type")
    private String currencyType;
    @WhereType(filed = "tax_rate")
    private BigDecimal taxRate;
    @WhereType(filed = "tax")
    private BigDecimal tax;
    @WhereType(filed = "tax_lc")
    private BigDecimal taxLc;
    @WhereType(filed = "unit_price")
    private BigDecimal unitPrice;
    @WhereType(filed = "tax_unit_price")
    private BigDecimal taxUnitPrice;
    @WhereType(filed = "total_tax_amount")
    private BigDecimal totalTaxAmount;
    @WhereType(filed = "remark")
    private String remark;
    @WhereType(filed = "total_amount")
    private BigDecimal totalAmount;
    @WhereType(filed = "total_amount_lc")
    private BigDecimal totalAmountLc;
    @WhereType(filed = "total_tax_amount_lc")
    private BigDecimal totalTaxAmountLc;



}
